package com.nanhai.buddhist.college.module.study.controller.student.attendance.vo;

import com.nanhai.buddhist.college.framework.common.pojo.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author AKai
 * @date 2022/8/28
 */
@Data
public class StudentManagementPageReqVO extends PageParam {
    @ApiModelProperty("请假人id")
    @NotNull(message = "请假人id 不能为空")
    private String userId;

    @ApiModelProperty("请假人类型")
    private Integer userType;

    @ApiModelProperty(value = "请假开始时间")
    private String leaveStartTime;

    @ApiModelProperty(value = "请假结束时间")
    private String leaveEndTime;

    @ApiModelProperty(value = "请假开始时间",hidden = true)
    private Date leaveStartTimeDate;

    @ApiModelProperty(value = "请假结束时间",hidden = true)
    private Date leaveEndTimeDate;

    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "学院id")
    private String collegeId;

}
